//
//  SMFManagerOssService.h
//  SMFManager
//
//  Created by mac on 2022/9/26.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "SMFManagerOssConfigModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef void(^SMFManagerOssServiceFailureBlock)(NSString *error, id data);


@interface SMFManagerOssService : NSObject

+ (instancetype)shareInstance;

- (void)smf_tyyOosUploadData:(NSData *)uploadData
                        fileName:(NSString *)fileName
                          progressBlock:(void (^_Nullable)(CGFloat prorgess))progressBlock
                           success:(void (^_Nullable)(NSString *url))success
                           failure:(void (^_Nullable)(NSError *error))failure;


@end

NS_ASSUME_NONNULL_END
